#pragma once

#include <vector>
using namespace std;

// CReportListCtrl

class CSampleData
{
public:
	CSampleData()
	{
		/*m_name = RandomText::GetName();
		m_slogan = RandomText::GetSlogan();*/
		//m_image = rand()%IMAGECOUNT;
		//m_checked = (rand()%2!=0);
	}

	CString m_name;
	CString m_slogan;
	//int m_image;
	//bool m_checked;
};


class CReportListCtrl : public CListCtrl
{
	DECLARE_DYNAMIC(CReportListCtrl)

public:
	CReportListCtrl();
	virtual ~CReportListCtrl();

  vector<CSampleData> m_database;

protected:
	DECLARE_MESSAGE_MAP()
public:
  afx_msg void OnHdnGetdispinfo(NMHDR *pNMHDR, LRESULT *pResult);
  afx_msg void OnLvnGetInfoTip(NMHDR *pNMHDR, LRESULT *pResult);
protected:
  virtual void PreSubclassWindow();
};


